package com.songwo.core.primary.dao.system;

import com.songwo.core.primary.entity.system.SysUser;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author zhongzheng
 */
public interface SysUserDao extends JpaRepository<SysUser, Long> {
    SysUser findByName(String name);

    SysUser findByNameAndAge(String name, Integer age);

    SysUser findSysUserByName(String name);

    SysUser findSysUserById(Long id);
}
